
<template>
  <!-- 小弹框 width:500,height:0.3,top:15%  -->
  <!-- 中弹框 width:800,height:0.5,top:10% -->
  <!-- 大弹框 width:1060,height:0.76,top:5% -->

  <div class="Control-1 mechanism_dialogS closure" id="comcn small">
    <el-dialog
      width="1060px"
      v-loading="loading"
      element-loading-text="拼命加载中"
      element-loading-background="rgba(0, 0, 0, 0.2)"
      element-loading-spinner="el-icon-loading"
      :title="title"
      v-dialogDrag
      :visible.sync="visible"
      @close="closeDialog"
      :append-to-body="true"
      top="5%"
    >
      <div
        class="dialogBody common commonClassDialog moduleDialog"
        id="longLable"
        :style="{ height: dialogHeight }"
        style="width: 100%"
      >
      <div v-if="!this.isFetched" style="overflow-y: auto; margin-bottom: 20px">
        <div class="baseTitle" v-show="handNum">闭合申请单</div>
    
       
        <el-collapse v-model="activeNames" @change="changeCollapse">
          <el-collapse-item name="0" v-show="handNum">
            <!-- <el-collapse-item name="0" > -->
            <template slot="title">
              <div>
                <img
                  style="vertical-align: middle"
                  src="@/assets/img/Supervision/com_flg.png"
                  alt=""
                />
                <span style="margin-left: 8px">闭合申请单</span>
              </div>
            </template>
            <div style="height: 220px; margin-top: 3px">
              <publicForm
                ref="publicForm0"
                lableWidth="115px"
                :formObj="closeFormObj"
                :formData="closeFormData"
                @selectChange="selectChange"
                :timestamp="closeFormData.fHandlefile"
                :fileList="closeFileurllist"
                @delteFile="delteFile($event, 0)"
              >
              </publicForm>
            </div>
          </el-collapse-item>

          <el-collapse-item name="1" v-if="firstNum">
            <template slot="title">
              <div>
                <img
                  style="vertical-align: middle"
                  src="@/assets/img/Supervision/com_flg.png"
                  alt=""
                />
                <span style="margin-left: 8px">一级审核</span>
              </div>
            </template>
            <div style="height: 110px; margin-top: 3px">
              <publicForm
                ref="publicForm1"
                lableWidth="115px"
                :formObj="FauditFormObj"
                :formData="FauditFormData"
                @selectChange="selectChange"
                :timestamp="FauditFormData.fFirstcheckfile"
                :fileList="FauditFileurllist"
                @delteFile="delteFile($event, 1)"
              >
              </publicForm>
            </div>
          </el-collapse-item>
          <el-collapse-item name="2" v-if="secondNum">
            <template slot="title">
              <div>
                <img
                  style="vertical-align: middle"
                  src="@/assets/img/Supervision/com_flg.png"
                  alt=""
                />
                <span style="margin-left: 8px">二级审核</span>
              </div>
            </template>
            <div style="height: 110px; margin-top: 3px">
              <publicForm
                ref="publicForm2"
                lableWidth="115px"
                :formObj="SauditFormObj"
                :formData="SauditFormData"
                @selectChange="selectChange"
                :timestamp="SauditFormData.fSecondcheckfile"
                :fileList="SauditFileurllist"
                @delteFile="delteFile($event, 2)"
              >
              </publicForm>
            </div>
          </el-collapse-item>
        </el-collapse>
      </div>
      <div class="newlyAdded_btn" v-if="btnShow">
        <el-button :disabled="isLock" type="primary" @click="yj_saveForm(1)"
          >保存</el-button
        >
        <el-button type="warning" @click="visible = false">关闭</el-button>
      </div>
    </div>

    </el-dialog>
  </div>
</template>

<script src="./index.js"></script>
<style lang="less" scoped>
@import "./index.less";
</style>
